$list: red green cyan blue purple orange skyblue pink yellow;
$i:1;
@each $color in $list {
    .box#{$i} {
        background-color: $color;
    }
    $i: $i + 1;
}